package io.gps.datatransfer.task;

import io.gps.datatransfer.utils.FileUtils;
import io.gps.datatransfer.utils.SysDef;
import io.gps.datatransfer.utils.Utils;
import org.apache.log4j.Logger;

public class InitValuetWork implements Runnable  {

    private static Logger logger = Logger.getLogger(InitValuetWork.class);


    /**
     * 定时重新加载黑名单
     */
    @Override
    public void run() {
        try {
//            SysDef.init();
            Utils.taskCheckTime();
            FileUtils.InitCarList();
        } catch (Exception ie) {
            logger.error(ie.getMessage(),ie);
        }
    }
}